-
Home
-
J Cart Upsell and Cross-sell for WooCommerce
-
3.4.7
-
Code
-
Classes
- OptionUpsell
Total Complexity |
24 |
Dependencies |
1 |
Dependents |
2 |
Total lines |
169 |
Lines of code |
82 |
Logical lines of code |
53 |
Comment lines |
21 |
Methods |
10 |
Properties |
1 |
Methods 10
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
editOrAdd() |
S |
53 |
7 |
23 |
reorderUpsells() |
S |
62 |
3 |
12 |
translate() |
S |
60 |
3 |
12 |
removeUpsell() |
S |
72 |
3 |
5 |
changeStatus() |
S |
64 |
2 |
10 |
save() |
S |
66 |
2 |
8 |
__construct() |
S |
91 |
1 |
2 |
setDefaults() |
S |
77 |
1 |
4 |
load() |
S |
81 |
1 |
3 |
loadProducts() |
S |
79 |
1 |
3 |